Model Exploration and Analysis of Quantitative Safety Refinement in Probabilistic Systems
نویسندگان
چکیده
Probabilistic programs permit the specification of abstract quantitative properties via the encoding of expectations — random variables defined over program state — which prescribe critical model information. Refinement steps which form the basis for elaborating the specification with implementation details must then be checked to ensure that the expectations threshold are never violated. But capturing, interpreting and coping with the failure of expectations (in case they occur) can prove challenging. As for standard systems, counterexamples are an important feature of program construction which can be used to investigate qualitative properties of proof-based models as in the method of Event-B [LB03]. In this paper, we extend our previous work [NM11] on the use of counterexamples to investigate quantitative inductive invariant properties of probabilistic systems refinement in the probabilistic B language [Hoa05]. In particular, we demonstrate how Hoang’s fundamental probabilistic theorem can be equipped with a bounded-style model checking interpretation so that each refinement step of a probabilistic system can be explored algorithmically to compute useful diagnostics where necessary. The diagnostics we obtain are precise and can be used to make accurate quantitative judgements about the evolving refinement relations for pre-defined expectations. We illustrate the technique with pB implementations of Karger’s mincut algorithm and a software engineering problem involving the refinements of an abstract embedded control system design whose components have known probabilities of failure.
منابع مشابه
Model exploration and analysis for quantitative safety refinement in probabilistic B
The role played by counterexamples in standard system analysis is well known; but less common is a notion of counterexample in probabilistic systems refinement. In this paper we extend previous work using counterexamples to inductive invariant properties of probabilistic systems, demonstrating how they can be used to extend the technique of bounded model checking-style analysis for the refineme...
متن کاملRisk Analysis of Operating Room Using the Fuzzy Bayesian Network Model
To enhance Patient’s safety, we need effective methods for risk management. This work aims to propose an integrated approach to risk management for a hospital system. To improve patient’s safety, we should develop flexible methods where different aspects of risk and type of information are taken into consideration. This paper proposes a fuzzy Bayesian network to model and analyze risk in the op...
متن کاملAutomated quantitative software verification
Many software systems exhibit probabilistic behaviour, either added explicitly, to improve performance or to break symmetry, or implicitly, through interaction with unreliable networks or faulty hardware. When employed in safety-critical applications, it is important to rigorously analyse the behaviour of these systems. This can be done with a formal verification technique called model checking...
متن کاملQuantitative Refinement and Model Checking for the Analysis of Probabilistic Systems
For standard (ie non-probabilistic) systems of reasonable size, correctness is analysed by simulation and/or model checking, possibly with standard program-logical arguments beforehand to reduce the problem size by abstraction. For probabilistic systems there are model checkers and simulators too; but probabilistic program logics are rarer. Thus e.g. model checkers face more severe exposure to ...
متن کاملThe Probabilistic Steam Boiler: a Case Study in Probabilistic Data Refinement
Probabilistic choice and demonic nondeterminism have been combined in a model for sequential programs [11, 8] in which program refinement is defined by removing demonic nondeterminism. Here we study the more general topic of data refinement in the probabilistic setting, extending standard techniques to probabilistic programs. We use the method to obtain a quantitative assessment of the safety o...
متن کامل